package com.sca.commontest.test.designpattern.decorator.drink;

/**
 * @Author: denglei
 * @Date: 2022/1/7 10:22
 * @Description:
 */
public class Coffe extends Drink{

    public  Coffe() {
        super.setPrice(10);
        super.setDesc("咖啡");
    }

    @Override
    public float getCost() {
        return super.getPrice();
    }
}
